package org.erp.admins.infrastructure.convert;

import org.erp.admins.domain.entity.TenantUser;
import org.erp.admins.domain.bo.TenantUserBo;
import org.erp.admins.domain.dto.TenantUserDto;
import org.erp.admins.domain.vo.TenantUserVo;
import org.mapstruct.Mapper;
import org.mapstruct.Mappings;

@Mapper(componentModel = "spring", builder = @org.mapstruct.Builder(disableBuilder = true))
public interface TenantUserConvert {
    @Mappings(value = {})
    TenantUserDto boConvertDto(TenantUserBo bo);

    @Mappings(value = {})
    TenantUserVo entityToVo(TenantUser entity);

    @Mappings(value = {})
    TenantUser dtoToEntity(TenantUserDto dto);
}

